<?php defined('IN_IA') or exit('Access Denied');?><!DOCTYPE html>
<!--[if IE 7]><html class="ie7" lang="zh"><![endif]-->
<!--[if gt IE 7]><!-->
<html lang="zh">
<!--<![endif]-->
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0" />
<meta name="format-detection" content="telephone=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" /><!--隐藏状态栏 -->
<meta HTTP-EQUIV="pragma" CONTENT="no-cache">
<meta HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
<meta HTTP-EQUIV="expires" CONTENT="0">
<title>添加您的事件</title>
<style>
	.form-control {width: 90%;height:35px;}
	.control-label {line-height: 30px;}
	#remark {height:100px;}
	.panel-heading {line-height: 30px;}
	.btn {width:60px;height:30px;text-align: center;margin:0 auto;}

</style>
</head>
<body>
<div class='container'>

<div class="panel panel-success">
  <div class="panel-heading">创建您的微事件 > 添加事件 :</div>
</div>
<div class="main">
	<form action="" method="post" class="form-horizontal form">
	<div class="panel panel-default">
		
		<div class="panel-body">
		
			<div class="form-group">
				<label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">标题</label>
				<div class="col-sm-8">
					<input type="text" name="event_title" class="form-control" />
					<span class="help-block"></span>
				</div>
			</div>	
				
			<div class="form-group">
				<label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">内容</label>
				<div class="col-sm-8">
					<textarea id="remark" name="event_content" class="form-control">
					
					</textarea>
					<span class="help-block"></span>
				</div>
			</div>

			<div class="form-group">
				<label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">时间</label>
				<div class="col-sm-8">
					<input type="date" name="event_time" class="form-control" /> 
					<span class="help-block"></span>
				</div>
			</div>
			<div class="form-group">
				<label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">强调</label>
				<div class="col-sm-8">
					<input name="highlight" type="radio" value="1" />TRUE&nbsp;&nbsp;&nbsp;&nbsp;
					<input name="highlight" type="radio" value="0" /> FALSE
					<span class="help-block"></span>
				</div>
			</div>
			
			<div class="form-group">
				<label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label"></label>
				<div class="col-sm-4">
				<input type="hidden" name="event_id" value="<?php  echo $item['event_id'];?>">
				<input type="hidden" name="token" value="<?php  echo $_W['token'];?>" />
					<input name="submit" type="submit" value="提交" class="btn btn-primary span3" />
					
				</div>
			</div>
			
			</div>
			</div>
	</form>
</div>
		<p><a href="<?php  echo $this->createMobileUrl('usertree')?>">生成时间轴</a></p>
</div>

</body>
</html>